home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
pc_board
/
bbsfind1.zip
/
BBSFIND.DOC
next >
Wrap
Text File
|
1992-04-26
|
4KB
|
134 lines
Welcome to BBSFIND!
REGISTRATION
------------
This version of the program is released as FreeWare. It is free and is
dedicated to the public domain for private, non-commercial users.
**Commercial and Government are requested to register and support its
continued development. To register, please send your name, address
and phone number(s) with the registration fee of US $10.00 to:
Dave Wilga
304 Hickory ln.
Seffner, FL 33584
(Outside US, please add $5.00**).
DISTRIBUTION
------------
You may make copies of the program files for and the documentation file
BBSFIND.DOC (this file) together and distribute them to others and upload
them to bulletin boards for non-commercial purposes. The program files
should not be distributed without the documentation file BBSFIND.DOC.
None of the files should be modified in any way.
******************************* NOTICE ********************************
* This program, and all supporting programs and documentation are *
* provided "as is" without warranty of any kind, either expressed *
* or implied, including but not limited to the implied warranties *
* of merchantability and fitness for a particular purpose. In no *
* event will I, Dave Wilga be liable to you for any damages *
* arising out of the use or inability to use this program and/or *
* all supporting programs and documentation. *
*************************************************************************
End of legal B.S.
1
BBSFIND.DOC
This program was conceived of and designed by me in order to process a
shortcoming within PCBoard upload file checking routines. Although PC-Board
v14.5a has some EXCELLENT new features they were a little lax in not allowing
a SysOp the option of checking an upload against existing files with another
extension.
For example:
===========================================================================
Your BBS is set up in a ZIP format and someone wants to upload an ARJ file
to your BBS.
No problem you say?
Well, what if that file is already on your BBS in the ZIP format??
PCBoard will fail to check this and blindly allow the upload giving you
needless duplication of files! Not to mention your workload as a Sysop
goes up trying to find these duplicates.
Well folks, here is the answer! BBSFIND!
Using the Turbo-C command fnsplit, it will break down the uploaded filename
into it's respective parts and pull out JUST the filename (no extention).
Then, it makes a call to the external file finder: WHEREIS.EXE
Whereis receives the following parameters :
Whereis FILENAME -x*.exe -x*.com -x*.bat -x*.btm
This will bypass all executable and batch file you may currently be using
and restrict the comparison to archived files only.
epilogue:
=========
Now some of you may say that WIZ20 or FIND219 or some other file finder is
a lot faster. Well, I won't nitpick about a few microseconds here or there
but Whereis is the ONLY item I could find ANYWHERE in the shareware arena
which would return a different DOS ERRORLEVEL based on a Find/NoFind situation.
If you have another file finder you prefer to use that will return a consistant
DOS errorlevel for a find/nofind let me know and I'll codify you a special
version for a price (even for a beer or two <grin> ).
I am currently working on writing a version of BBSFIND which uses an INTERNAL
file finder program but it won't be as fast as I only know C and BASIC and as
far as file finders are concerned, Assembly Language is the ONLY way to go.
I have included a copy of the latest Whereis (v4.4) as well as a sample
PCBTest.bat file for a PCBoard system. Also included is WHATEXT.ZIP
which finds just about any DOS file extention used in file archives. It is not
needed for BBSFind to work but is required for the example PCBTEST.BAT given.
Simple?? Yes!
Useful?? You tell me.....
Dave Wilga , Sysop
Terminal Velocity BBS
Clearwater, Fl
813-535-3349